<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">

        <div class="layui-form-item">
            <label class="layui-form-label required">上级分类</label>
            <div class="layui-input-block">
                <select name="pid">
                    {foreach $cate_list as $vo}
                    <option value="{$vo.id}" {if $id==$row.pid}selected=""{/if}>{$vo.title|raw}</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">分类标题</label>
            <div class="layui-input-block">
                <input type="text" name="title" class="layui-input" lay-verify="required" placeholder="请输入分类标题" value="{$row.title|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">分类简介</label>
            <div class="layui-input-block">
                <input type="text" name="brief" class="layui-input"  placeholder="请输入分类简介" value="{$row.brief|default=''}">
            </div>
        </div>
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">店铺数量</label>-->
<!--            <div class="layui-input-block">-->
<!--                <input type="text" name="store_nums" class="layui-input"  placeholder="请输入店铺数量" value="{$row.store_nums|default=''}">-->
<!--            </div>-->
<!--        </div>-->
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>